package org.whh.auth.service;

import org.whh.auth.domain.Role;
import org.whh.base.service.BaseService;
import org.whh.dto.result.MenuDTO;
import org.whh.dto.result.PermissionDTO;

import java.util.List;

public interface IRoleService extends BaseService<Role> {


    void setRolePermisison(PermissionDTO dto);

    List<String> getSnByRowId(Long roleId);

    void setRoleMenu(MenuDTO dto);

    List<Long> getMenuIdByRowId(Long roleId);

    List<Long> getAllRoleId();

    List<Role> getRoles();
}
